package cn.b.sky.admin.dao;

import cn.b.sky.admin.model.condition.TimeJobCondition;
import cn.b.sky.schedule.model.TimedJobInfo;

import java.util.List;


public interface AdminTimedJobDao {

  List<TimedJobInfo> selectTimedJobList(TimeJobCondition timedJobInfo);

  int selectTomeJobCount(TimeJobCondition timedJobInfo);

  TimedJobInfo selectTimedJob(String jobCode);

  void updateTimedJob(TimedJobInfo timedJob);

  List<TimedJobInfo> selectEnableTimedJob(int enable);

  void insertTimedConfig(TimedJobInfo timedJob);
  
  int checkTimedJob(String jobCode);

  void deleteTimedJob(String jobCode);
}
